<%--
  Created by IntelliJ IDEA.
  User: guobenqi
  Date: 2021/5/29
  Time: 18:43
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <!-- 1. 导入CSS的全局样式 -->
    <link href="css/bootstrap.min.css" rel="stylesheet">
    <script src="js/jquery-2.1.0.min.js"></script>
    <script src="js/bootstrap.min.js"></script>
    <title>添加学生信息</title>
</head>
<body>
<div  class="container">

    <div role="tabpanel" class="tab-pane" id="chan">
        <div class="check-div" style="text-align: center;font-size: 40px">
            修改密码
        </div>
        <div class="pasPanle">
            <form class="form-horizontal" method="post" action="${pageContext.request.contextPath}/updatePassword">
                <div class="form-group">
                    <label for="sKnot" class="col-xs-4 control-label">原密码：</label>
                    <div class="col-xs-5">
                        <input type="text" class="form-control input-sm duiqi" id="sKnot" name="password1" placeholder="" style="margin-top: 7px;">
                    </div>
                </div>
                <div class="form-group">
                    <label for="sKnot" class="col-xs-4 control-label">新密码：</label>
                    <div class="col-xs-5">
                        <input type="password" class="form-control input-sm duiqi" name="password2" id="sKnot1" placeholder="" style="margin-top: 7px;">
                    </div>
                </div>
                <div class="form-group">
                    <label for="sKnot" class="col-xs-4 control-label">重复密码：</label>
                    <div class="col-xs-5">
                        <input type="password" class="form-control input-sm duiqi" id="sKnot2" placeholder="" name="password3" style="margin-top: 7px;">
                    </div>
                </div>
                <div class="form-group text-right">
                    <div class="col-xs-offset-4 col-xs-5" style="margin-left: 169px;">
                        <button type="submit" class="btn btn-xs btn-green">保存</button>
                    </div>
                </div>

                <!-- 出错显示的信息框 -->
                <div class="alert alert-warning alert-dismissible" role="alert" >
                    <button type="button" class="close" data-dismiss="alert" >
                        <span>&times;</span>
                    </button>
                    <strong>${update_msg}</strong>
                </div>
            </form>
        </div>
    </div>
</div>

</body>
<style type="text/css">
    body{
        width: 100%;
        height: 100%;
        background: url("${pageContext.request.contextPath}/image/bg2.jpg") no-repeat;
        background-size:cover ;
    }
    .container{
        width: 800px;
        margin: 100px auto;
        background: purple;
        color: #4cae4c;
        font-size: 15px;
        padding: 5px 50px;
        border-radius: 10px;
    }
    .pasPanle{
        width: 420px;
        /*height: 400px;*/
        background: #ffff00;
        color: #000;
        padding: 30px;
        margin: 50px auto;
        border-radius: 20px;

        /*style="padding: 50px 0;margin-top: 50px;background-color: #fff; text-align: right;width: 420px;margin: 50px auto;"*/

    }

</style>
</html>
